project(MsgHandlerObj LANGUAGES CXX)

file(GLOB SRCS "*.cpp")

foreach(cppfile IN LISTS SRCS)
	message(STATUS "add ${cppfile} to ${PROJECT_NAME}...")
endforeach()

add_library(${PROJECT_NAME} OBJECT ${SRCS})

target_include_directories(${PROJECT_NAME} PUBLIC
        "../const"
	   ${util_SOURCE_DIR}
       ${Boost_INCLUDE_DIRS}
	   ${CMAKE_CURRENT_SOURCE_DIR}/
       ${SessionObj_SOURCE_DIR}/
       ${jsoncpp_SOURCE_DIR}/include
)

target_link_libraries(${PROJECT_NAME}
    PUBLIC
        #SessionObj
        jsoncpp_lib
        util_shared
)